home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
relock20.zip
/
RELOCK.DOC
< prev
next >
Wrap
Text File
|
1992-07-21
|
6KB
|
129 lines
RELOCK V2.0 by Tim Pearson
DISCLAIMER
----------
This program is not in the public domain. It is provided "as is" with
no warranty of any kind, including implied warranties of merchantibility
or fitness for a particular purpose. By using this program, you argree to
accept sole responsibility for any damage that may result from said use.
What is RELOCK?
---------------
With the advent of the new 16.8Kbps HST's and new high performance UART's
like the 16550, serial communications speed has outstripped the ability of
many formerly well behaved BBS systems and BBS doors to handle the higher
speeds. However, many FidoNet(tm) compatible front end mailers (D'Bridge is
one noteable example) are perfectly capable of taking advantage of higher
serial port to modem locked rates.
RELOCK is an attempt to give you the best possible throughput with your
mailer while allowing you to slow things down from "warp speed" when your
mailer passes a caller off to your BBS software.
RELOCK has been tested with X00, D'Bridge, QuickBBS, and a USR 16.8 dual
standard modem on an 80486 33mhz machine running under DesqView.
RELOCK Operational Overview
---------------------------
RELOCK, when provided with the proper command line parameters, will:
1. Open the specified port, locked at the specified initial rate.
2. Wait for all pending output to clear the output buffer.
3. Send the modem escape sequence "+++" to place the modem in
command mode while still on line. (see HST DIP switch setting
below).
4. Switch the fossil to the new bps rate.
5. Send ATB1(cr) to lock the modem at the new rate.
6. Send ATO(cr) to the modem to return it to "online" mode.
7. Exit leaving the fossil "hot" & locked at the new rate.
Hardware Compatibility
----------------------
RELOCK is designed for use with U.S. Robotics(tm) HST modems. If your
modem is not an HST it must conform to the following to be compatible with
RELOCK:
1. Escape sequence +++ must return the modem to "command" mode
without dropping carrier.
2. ATB1 must be the command to lock your modem's baud rate.
3. ATO must be the command to return your modem to "online" mode.
4. Your modem must be able to accept commands at other than its
currently locked bps rate.
Installing RELOCK
-----------------
1. Set DIP switch 9 on your HST for "No disconnect on +++".
2. Insure that HST register S2 equals 43 (ASCII "+").
3. Make certain that X00's companion program XU is located
in your DOS search path.
4. Place RELOCK in your mailer or BBS batch file at a point where it
will be invoked after your mailer exits but before the BBS software
is loaded. (run RELOCK from the directory where it resides).
BBS users will see "+++" on their screen as RELOCK executes. You may
wish to place a statement like "Adjusting communications speed. Stand by."
in your mailer's "loading bbs" text message.
RELOCK tests for the presence of a carrier upon entry and immediately
after sending the +++ escape sequence. The latter is done in case you
have not set DIP switch 9 on your HST correctly. If carrier is lost,
RELOCK displays a message and exits. It will not "hang" your batch file.
RELOCK also displays several progress, error, and warning messages during
execution as conditions warrant.
Command Line Parameters
-----------------------
Typing RELOCK with no parameters will display a help screen.
Syntax is: RELOCK fossil port bps1 bps2
fossil = X00 or XOO for the X00 fossil. Others NOT supported.
port = 0 for COM1, 1 for COM2, 2 for COM3 or 3 for COM4
bps1 = modem's current locked bps rate (300 to 57600 bps)
bps2 = bps rate modem should be changed to (300 to 57600 bps)
All four parameters are required. An incorrect specification will
cause an error message and the RELOCK help screen to be displayed followed
immediately by program exit. During installation debugging, it might be
wise to place a PAUSE statement in your .BAT file immediately following
the RELOCK statement.
If bps2 is greater than bps1, RELOCK will display a warning message and
proceed to re-lock the modem at the higher rate. The warning is included
merely because the normal use for RELOCK is to slow down rather than speed
up the modem's locked rate.
EXAMPLE1:
RELOCK X00 0 57600 19200
Using port 0 (COM1). Modem is currently locked at
57,600 bps. Relock it at 19,200 bps.
EXAMPLE2:
RELOCK XOO 1 38400 19200
Using port 1 (COM2). Modem is currently locked at
38,400 bps. Relock it at 19,200 bps.
Support
-------
If you have problems with RELOCK, you may contact the author by calling
the LANStar BBS at 417-673-BAUD (2283) or by e-mailing Tim Pearson at
1:286/703 @ fidonet. The most recent version of RELOCK will be available
for download or file request at the same number/address.
The Shareware Concept
---------------------
Users of this program are free to evaluate it for a period of 30
days at no charge. After said evaluation period, you must discontinue
its use or to send $10.00 US funds to:
Timothy Pearson
110 West Main Street
Carterville, MO USA 64835
Upon registration, you will receive a key file good for this and all future
versions of RELOCK. Registration will also eliminate the 10 second non-
registered delay.
See RELOCK.REG contained in the RELOCK archive for more information.